package com.adwin.addcoin.repository.net

import com.google.gson.annotations.SerializedName

data class BaseResponse<T>(
    @SerializedName("code")
    var code: Int,
    @SerializedName("data")
    var data: T,
    @SerializedName("msg")
    var msg: String,
    @SerializedName("timestamp")
    var timestamp: String,
    var isSuccess:Boolean = code == 200
) {

}
